package com.neusoft.ex2;

public class TestGoods {

	public static void main(String[] args) {
		Goods g1 = new Goods("Iphone12", 1001, 10000);
		Goods g2 = new Goods("HuaweiP40", 1002, 8000);
		Goods g3 = new Goods("vivo", 1003, 4000);
		
		GouWuChe g = new GouWuChe();
		g.addGoods(g1);
		g.addGoods(g2);
		g.addGoods(g3);
		
		g.printListGoods();
		g.printGoodsPrice();
		System.out.println("***********************************************");
		g.delGoods(g2);
		g.printListGoods();
		g.printGoodsPrice();
	}

}
